WPDiscourse\Admin\LogViewer A

Total Complexity 54
Dependencies 4
Dependents 1
Total lines 501
Lines of code 309
Logical lines of code 166
Comment lines 116
Methods 20
Properties 7

Methods 20

Method Rating Maintainability Complexity Lines of code
build_metafile_contents()
A
42 9 54
log_viewer_markup()
S
46 5 45
log_file_contents()
S
52 6 24
download_logs()
S
47 5 33
setup_log_viewer()
S
57 4 16
meta_file_contents()
S
59 4 14
remove_meta_files()
S
59 3 15
setup_logs()
S
70 3 6
setup_options()
S
67 3 8
register_log_viewer()
S
57 1 22
retrieve_logs()
S
57 1 19
file_name()
S
64 2 9
get_metafile_path()
S
76 1 4
build_log_key()
S
72 1 5
__construct()
S
70 1 6
is_enabled()
S
82 1 3
get_logs()
S
82 1 3
update_meta_file()
S
73 1 5
logs_enabled()
S
67 1 10
build_date_range()
S
66 1 8